<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>导航栏</title>
    <script src="../jquery-2.2.1.min.js"></script>
    <script src="index_2.js"></script>
    <link rel="stylesheet" href="index_2.css" type="text/css"/>
</head>
<body>
<div class="nav-1">
    <ul class="ul-1">
        <li><a href="#" class="on">首页</a></li>
        <li><a href="#">职业课程</a></li>
        <li><a href="#">就业学习</a></li>
        <li><a href="#">极客社区</a></li>
        <li><a href="#">极客+</a></li>
    </ul>
</div>
<div class="nav-2">
    <ul class="ul-2">
        <li>
            <a href="#">
                <span>Math</span>
                <i>数学</i>
            </a>
        </li>
        <li>
            <a href="#">
                <span>Chinese</span>
                <i>语文</i>
            </a>
        </li>
        <li>
            <a href="#">
                <span>English</span>
                <i>英语</i>
            </a>
        </li>
        <li>
            <a href="#">
                <span>Physics</span>
                <i>物理</i>
            </a>
        </li>
        <li>
            <a href="#">
                <span>Chemistry</span>
                <i>化学</i>
            </a>
        </li>
    </ul>
</div>

<div class="nav-3">
    <ul class="ul-3">
        <li><a href="#">首页</a></li>
        <li>
            <a href="#">职业课程</a>

            <div class="down">
                <a>课程库</a>
                <a>知识体系图</a>
                <a>职业路径图</a>
                <a>系列课程</a>
            </div>
        </li>
        <li>
            <a href="#">就业学习</a>

            <div class="down">
                <a>Web前端学习</a>
                <a>android学习</a>
                <a>javaWeb学习</a>
                <a>IOS学习</a>
            </div>

        </li>
        <li>
            <a href="#">极客社区</a>

            <div class="down">
                <a>WiKi</a>
                <a>技术问答</a>
                <a>社群</a>
            </div>
        </li>
        <li>
            <a href="#">极客+</a>

            <div class="down">
                <a>高校合作</a>
                <a>布道师招募</a>
            </div>
        </li>
    </ul>
</div>
</body>

<script type="text/javascript">
    var num = "1870295508a";
    var regs = /^1[0-9]{10}/;
    console.log(regs.test(num))


</script>

</html>



